<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/md5.asp"-->
<!--#include file="../common/admin.asp"-->
<%
orderid=request.QueryString("id")
set rs=server.CreateObject("adodb.recordset")
sql="select * from Orderdaipai where orderid='"&orderid&"'"
rs.open sql,conn,1,3
if not rs.eof then	
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>add</title>
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<style>body {background-color: #eaece1;}</style>
</head>

<body>
<div class="main">
  <div class="main-title">操作</div>
  <div class="main-content">
  <table width="100%" border="0" cellspacing="1" cellpadding="3" class="tab">
  <tr>
    <td colspan="2" bgcolor="#FFFFFF">
    
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_style">
        	  <tr>
        	    <th width="9%">&nbsp;</th>
        	    <th width="34%">产品</th>
        	    <th width="15%" align="center"> 出价</th>
        	    <th width="10%" align="center"> 数量 </th>
        	    <th width="15%" align="center"> 小计</th>
       	      </tr>
        	  <tr>
        	    <td align="right"><div class="border4 padding2" style="width:60px;"><a target="_blank" href="<%=rs("Prourl")%>"><img src="<%=rs("Propic")%>" width="60" height="60" border="0" /></a></div></td>
        	    <td align="left">
                
                <a target="_blank" href="<%=rs("Prourl")%>"><%=rs("Proname")%></a>
            
                
                </td>
        	    <td align="center"> <%=formatNumber(rs("Proprice"),2)%> </td>
        	    <td align="center"><%=rs("Proquantity")%></td>
        	    <td align="center" class="font14 fontstorg"><span class="corf40"><%=tb_unit%></span><%=cdbl(rs("Proprice"))*cdbl(rs("Proquantity"))+cdbl(rs("Fareprice"))%></td>
       	      </tr> 
       	    </table>
    
    </td>
    </tr>
  <tr>
    <td width="21%" bgcolor="#FFFFFF">收件人</td>
    <td width="79%" bgcolor="#FFFFFF"><%=rs("order_contact")%></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">电话/手机</td>
    <td bgcolor="#FFFFFF"><%=rs("order_tel")%>
      </td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">地址</td>
    <td bgcolor="#FFFFFF"><%=rs("order_add")%></td>
    </tr>
  <tr>
    <td bgcolor="#FFFFFF">邮编</td>
    <td bgcolor="#FFFFFF"><%=rs("order_zip")%></td>
    </tr>
  <tr>
    <td bgcolor="#FFFFFF">运送方式</td>
    <td bgcolor="#FFFFFF"><%
	if rs("fare")<>"0" then
	set rss=conn.execute("select title,id from fare where id="&rs("fare"))
		                               response.write rss("title")
									   set rss=nothing
									   end if%></td>
    </tr>
  </table>

</div>
</div>
</body>
</html>
<%
rs.close
set rs=nothing
end if
%>